<?php
/**
 * @Notes:【】
 * @Date: 2022-07-01 22:43
 */

namespace App\Controller\Api\System;

use App\Model\System\SystemCity;
use App\Service\System\SystemCityService;
use Hyperf\Di\Annotation\Inject;
use Yj\Apidog\Annotation\ApiController;
use Yj\Apidog\Annotation\PostApi;

/**
 * @Notes:【】
 * @Date: 2022-07-01 22:51
 * @ApiController()
 */
class SystemCityController
{

    /**
     * @Inject()
     * @var SystemCityService
     */
    protected $systemCityService;


    /**
     * @Notes:【】
     * @Date: 2022-07-01 22:51
     * @PostApi(path="lists")
     */
    public function lists()
    {
        $data = $this->systemCityService->lists();
        _SUCCESS($data);
    }
}